<?php
require('../constrl/adminOutctl.php');

?>
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>退出管理</title>
</head>
<link rel="stylesheet" href="../../style/css/font-face.css">
<style>
  .modal-out {
    /* display: none; */
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
  }

  .modal-out::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111418b3;
    z-index: 99;
  }

  .modal-out .modal-out-box {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 140px;
    border-radius: 10px;
    background-color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
  }


  .modal-out-box-msg {
    position: relative;
    width: 95%;
    height: 60%;
    /* background-color: red; */
  }

  .modal-out .modal-out-box .modal-out-box-msg i {
    font-size: 50px;
    color: #ac2f33;
  }

  .modal-out-box-msg h2 {
    position: absolute;
    left: 80px;
    top: -25px;
  }

  .modal-out-box-msg span {
    position: absolute;
    left: 80px;
    top: 30px;
  }

  .modal-out-box form {
    width: 100%;
    height: 50px;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: end;
  }

  .modal-out-box form button,
  .modal-out-box form input {
    margin: 0 10px;
    height: 35px;
    outline: none;
    border: none;
    border-radius: 5px;
    background-color: transparent;
  }

  .modal-out-box form input {
    color: #fff;
    font-weight: 600;
    width: 80px;
    background-color: red;
  }

  .modal-out-box form button {
    width: 50px;
    border: 1px solid #000;
  }

  .modal-out-box form button:hover {
    background-color: #edeff2;
  }

  .modal-out-box form input:hover {
    background-color: rgb(195, 0, 0);
  }
</style>

<body>
  <!-- 退出登录的模态框 -->
  <div class="modal-out">
    <div class="modal-out-box">
      <div class="modal-out-box-msg">
        <i class="iconfont icon-tuichu"></i>
        <h2>退出管理</h2>
        <span>确定要退出管理吗？</span>
      </div>
      <form action="../constrl/adminOutctl.php" method="post">
        <input type="hidden" name="action" value="adminout">
        <button type="button" onclick=" history.back()">取消</button>
        <input type="submit" value="退出管理">
      </form>
    </div>
  </div>
</body>

</html>